package com.mzj.saas.mservice.code.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/*
 *代付与合同二维码记录表
 */
@Entity
@Table(name = "saas_business_code")
public class BusinessCode {
	/*
	 * Id
	 */
	@Id
	private String code;
	
	/**
	 * 合同编码
	 */
	@Column(name = "contract_nubmer", nullable = true)
	private String contractNubmer;
	/*
	 * 类型(1合同 2公租房租金押金 3公租房其它缴费 4物业租金 5物业其它缴费 6维修)
	 */
	@Column(name = "type", nullable = true)
	private Integer type;

	/*
	 * 参数
	 */
	@Column(name = "params", nullable = true)
	private String params;

	/*
	 * 操人人
	 */
	@Column(name = "operator_id", nullable = true)
	private String operatorId;

	/*
	 * 操作时间
	 */
	@Column(name = "create_time", nullable = true)
	private Date createTime;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getContractNubmer() {
		return contractNubmer;
	}

	public void setContractNubmer(String contractNubmer) {
		this.contractNubmer = contractNubmer;
	}

}
